package com.zyj.check.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zyj.common.annotation.Excel;
import com.zyj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 资产盘点对象 assets_check
 * 
 * @author zhuyujie
 * @date 2022-05-17
 */
public class AssetsCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long checkId;

    /** 盘点编号 */
    @Excel(name = "盘点编号")
    private String checkNo;

    /** 盘点名称 */
    @Excel(name = "盘点名称",width = 30)
    private String checkName;

    /** 盘点时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone="GMT+8")
    @Excel(name = "盘点时间", width = 15, dateFormat = "yyyy-MM-dd")
    private Date checkTime;

    /** 盘点状态 */
    @Excel(name = "盘点状态",dictType = "check_status")
    private String checkStatus;

    /** 资产类别 */
//    @Excel(name = "资产类别")
    private String checkAssetsType;

    /** 资产状态 */
//    @Excel(name = "资产状态")
    private String checkAssetsStatus;

    /** 所属部门 */
//    @Excel(name = "所属部门")
    private String checkDepts;

    private String[] checkDeptsArray;

    private String[] checkAssetsTypeArray;

    private String[] checkAssetsStatusArray;


    public String[] getCheckDeptsArray() {
        return checkDeptsArray;
    }

    public void setCheckDeptsArray(String[] checkDeptsArray) {
        this.checkDeptsArray = checkDeptsArray;
    }

    public String[] getCheckAssetsTypeArray() {
        return checkAssetsTypeArray;
    }

    public void setCheckAssetsTypeArray(String[] checkAssetsTypeArray) {
        this.checkAssetsTypeArray = checkAssetsTypeArray;
    }

    public String[] getCheckAssetsStatusArray() {
        return checkAssetsStatusArray;
    }

    public void setCheckAssetsStatusArray(String[] checkAssetsStatusArray) {
        this.checkAssetsStatusArray = checkAssetsStatusArray;
    }

    public String getCheckDeptsName() {
        return checkDeptsName;
    }

    public void setCheckDeptsName(String checkDeptsName) {
        this.checkDeptsName = checkDeptsName;
    }

    /** 所属部门 */
//    @Excel(name = "所属部门")
    private String checkDeptsName;

    /** 盘点人 */
//    @Excel(name = "盘点人")
    private Long checkUserid;

    /** 盘点说明 */
    private String checkDesc;

    public Integer getCheckNum() {
        return checkNum;
    }

    public void setCheckNum(Integer checkNum) {
        this.checkNum = checkNum;
    }

    @Excel(name = "盘点数量")
    private Integer checkNum;


    /** 资产盘点详情信息 */
    private List<AssetsCheckDetail> assetsCheckDetailList;

    public void setCheckId(Long checkId) 
    {
        this.checkId = checkId;
    }

    public Long getCheckId() 
    {
        return checkId;
    }
    public void setCheckNo(String checkNo) 
    {
        this.checkNo = checkNo;
    }

    public String getCheckNo() 
    {
        return checkNo;
    }
    public void setCheckName(String checkName) 
    {
        this.checkName = checkName;
    }

    public String getCheckName() 
    {
        return checkName;
    }
    public void setCheckTime(Date checkTime) 
    {
        this.checkTime = checkTime;
    }

    public Date getCheckTime() 
    {
        return checkTime;
    }
    public void setCheckStatus(String checkStatus) 
    {
        this.checkStatus = checkStatus;
    }

    public String getCheckStatus() 
    {
        return checkStatus;
    }
    public void setCheckAssetsType(String checkAssetsType) 
    {
        this.checkAssetsType = checkAssetsType;
    }

    public String getCheckAssetsType() 
    {
        return checkAssetsType;
    }
    public void setCheckAssetsStatus(String checkAssetsStatus) 
    {
        this.checkAssetsStatus = checkAssetsStatus;
    }

    public String getCheckAssetsStatus() 
    {
        return checkAssetsStatus;
    }
    public void setCheckDepts(String checkDepts) 
    {
        this.checkDepts = checkDepts;
    }

    public String getCheckDepts() 
    {
        return checkDepts;
    }
    public void setCheckUserid(Long checkUserid) 
    {
        this.checkUserid = checkUserid;
    }

    public Long getCheckUserid() 
    {
        return checkUserid;
    }
    public void setCheckDesc(String checkDesc) 
    {
        this.checkDesc = checkDesc;
    }

    public String getCheckDesc() 
    {
        return checkDesc;
    }

    public List<AssetsCheckDetail> getAssetsCheckDetailList()
    {
        return assetsCheckDetailList;
    }

    public void setAssetsCheckDetailList(List<AssetsCheckDetail> assetsCheckDetailList)
    {
        this.assetsCheckDetailList = assetsCheckDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkId", getCheckId())
            .append("checkNo", getCheckNo())
            .append("checkName", getCheckName())
            .append("checkTime", getCheckTime())
            .append("checkStatus", getCheckStatus())
            .append("checkAssetsType", getCheckAssetsType())
            .append("checkAssetsStatus", getCheckAssetsStatus())
            .append("checkDepts", getCheckDepts())
            .append("checkUserid", getCheckUserid())
            .append("checkDesc", getCheckDesc())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("assetsCheckDetailList", getAssetsCheckDetailList())
            .toString();
    }
}
